*{
  margin: 0;
  padding: 0;
}


body{
  width: 1200px;
  background: #f0f0f0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;

}

a{
  text-decoration: none;
  color: #333;
}

a:hover{
  text-decoration: none;
  color: #21cd5a;
}

//-------------- 左侧列表
.school{
  width: 1200px;
  display: flex;
  padding: 20px;
  margin: 100px 0 0 20px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .1);

  .container{
    // display: flex;
    width: 850px;

    @media screen and (max-width:1280px) {
      .container {
        width: 1200px;
      }
      
    }

    //------------------------- 左侧列表
    
    .school-title01{
      width: 100%;
      display: flex;
      // padding: 20px;
      line-height: 30px;
      border-bottom: 1px solid #eee;
      box-sizing: border-box;
      position: relative;
     justify-content: space-between;
  
      .title-left{
        width: 4px;
        height: 24px;
        margin: 18px 16px 18px 0;
        background: linear-gradient(to right,#3dc1a7,#21cd5a);
        border-radius: 4px;
        position: absolute;
        // left: 30px;
        // top: 50%;
      }
  
      .title-text{
        display: block;
        cursor: pointer;
        font-size: 22px;
        font-weight: 400;
        // color: #111;
        padding: 15px;
        box-sizing: border-box;
      }
  
      .title-more{
        display: block;
        padding: 15px 0;
        box-sizing: border-box;
        font-size: 16px;
        color: #888;
        right: 0;
      }
    }

    .school-content{
      margin-top: 20px;
      display: flex;
      width: 100%;
      flex-wrap: wrap;
  
      .school-list{
        // display: flex;
        width: 22%;
        margin: 0 3% 20px 0;
  
        .school-img{
          display: flex;
          width: 100%;
          height: 124px;
          overflow: hidden;
          position: relative;
  
          img{
            width: 100%;
            position: absolute;
          }
          span{
            // display: flex;
            width: 100%;
            padding: 4px 10px;
            box-sizing: border-box;
            color: #fff;
            text-align: center;
            line-height: 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            position: absolute;
            background-color: rgba(0, 0, 0, .4);
            left: 0;
            bottom: 0;
          }
        }
        .school-text{
          display: flex;
          width: 48%;
          margin: 8px 26% 0;
          padding: 2px 0;
          color: #21cd5a;
          line-height: 24px;
          justify-content: center;
          align-items: center;
          border: 1px solid #3dc1a7;
          border-radius: 4px;

        }
      }
      @media screen and (max-width:992px){
        .school-list{
          width: 25%;
          padding: 10px;
          box-sizing: border-box;
        }
        
      }
      @media screen and (max-width:768px){
        .school-list{
          width: 50%;
        }
        
      }
    }
  }

  //----------------------------- 右侧列表
  .school-right{
    width: 280px;

    .school-title02{
        width: 100%;
        display: flex;
        // padding: 20px;
        line-height: 30px;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
        position: relative;
       justify-content: space-between;
    
        .title-left{
          width: 4px;
          height: 24px;
          margin: 18px 16px 18px 0;
          background: linear-gradient(to right,#3dc1a7,#21cd5a);
          border-radius: 4px;
          position: absolute;
          // left: 30px;
          // top: 50%;
        }
    
        .title-text{
          display: block;
          cursor: pointer;
          font-size: 22px;
          font-weight: 400;
          // color: #111;
          padding: 15px;
          box-sizing: border-box;

        }
    
        .title-more{
          display: block;
          padding: 15px 0;
          box-sizing: border-box;
          font-size: 16px;
          color: #888;
          right: 0;

        }
    }

    .floor{
      // display: flex;
      width: 100%;
      margin: 20px 0;

      .floor-list{
        width: 100%;
        display: flex;
        margin-bottom: 10px;
        &:nth-child(1){
          .list-logo{
            color: #fff;
            background: #ff4e00;
          }
          
        }
        &:nth-child(2){
          .list-logo{
            color: #fff;
            background: #ff4e00;
          }
          
        }
        &:nth-child(3){
          .list-logo{
            color: #fff;
            background: #ff4e00;
          }
          
        }

        .list-logo{
          width: 20px;
          height: 20px;
          margin: 2px 0;
          font-size: 14px;
          color: #ff4e00;
          text-align: center;
          border: 1px solid #ff4e00;
          border-radius: 4px;
          display: flex;
          justify-content: center;
          align-items: center;
        }
        .list-text{
          display: flex;
          width: 100%;
          line-height: 24px;
          margin-left: -20px;
          padding-left: 30px;
          box-sizing: border-box;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          align-items: center;
        }
      }

    }

  }  
}
